package com.softeem.yqst_server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softeem.yqst_server.entity.Music;

import java.util.List;

/**
 * 音乐服务接口，定义了对音乐资源的增删改查操作。
 */
public interface MusicService extends IService<Music> {
    boolean save(Music music);
    List<Music> list();
    boolean removeById(Integer id);
    List<Music> searchMusicByName(String keyword);
    boolean updateById(Music music);
    Music getById(Integer id);
}